{$openRegisterForm}
<table>
    <tr >
        <td style="width:100px">
            {$label_name}
        </td>
        <td>
            {$input_name}
        </td>
        <td class="form_element">
            {$form_reg_err_name}
        </td>
    </tr>
    <tr>
        <td>
            {$label_surname}
        </td>
        <td>
            {$input_surname}
        </td>
        <td>
            {$form_reg_err_surname}
        </td>
    </tr>
    <tr>
        <td>
            {$label_username}
        </td>
        <td>
            {$input_username}
        </td>
        <td>
            <span id="username_availability_result">{$form_reg_err_username}</span>
        </td>
    </tr>
    <tr>
        <td>
            {$label_email}
        </td>
        <td>
            {$input_email}
        </td>
        <td>
            {$form_reg_err_email}
        </td>
    </tr>
    <tr>
        <td>
            {$label_password}
        </td>
        <td>
            {$input_password}
        </td>
        <td>
            {$form_reg_err_password}
        </td>
    </tr>
    <tr>
        <td>
            {$label_repeat_password}
        </td>
        <td>
            {$input_repeat_password}
        </td>
        <td>
            {$form_reg_err_password}
        </td>
    </tr>
    <tr>
        <td>
            {$label_gender}
        </td>
        <td>
            {$select_gender_open}
            {$select_gender_option_m}
            {$select_gender_option_f}
            {$select_gender_close}
        </td>
    </tr>
    <tr>
        <td>
            {$label_date_of_birth}
        </td>
        <td>
            {$select_day_open}
            {$select_day_options}
            {$select_day_close}
            {$select_month_open}
            {$select_month_options}
            {$select_month_close}
            {$select_year_open}
            {$select_year_options}
            {$select_year_close}
        </td>
        <td>
            {$form_reg_err_dateofbirth}
        </td>
    </tr>
    <tr>
        <td>

        </td>
        <td>
            {$submit_register}
        </td>
    </tr>
</table>
{$closeRegisterForm}  